package com.csu.message;

/**
 * 
 * @author 胡海亮  QQ:249782944
 * 学校:中南大学 商学院
 * EnterpriseIMServer :企业即时通讯
 * Apr 27, 2010
 * 
 */
public class FileGetedResponseMessage extends FileResponseMessage {

	public FileGetedResponseMessage(){
		this.setMsgType(MessageType.FileGetedResponseMessage_Type);
	}
	
	
	public FileGetedResponseMessage(String srcQQ,String destQQ){
		this();
		this.setSrcQQ(srcQQ);
		this.setDestQQ(destQQ);
	}
	
	
	public FileGetedResponseMessage(FileMessage fileMessage){
		this();
		this.setSrcQQ(fileMessage.getDestQQ());
		this.setDestQQ(fileMessage.getSrcQQ());
		this.setFileID(fileMessage.getFilePartID());
		this.setFileAbsolutePath(fileMessage.getFileAbsolutePath());
		this.setSaveFilePath(fileMessage.getSaveFilePath());
		this.setFileLength(fileMessage.getFileLength());
		this.setFileName(fileMessage.getFileName());
		
	}
	
	private int fileID;

	public int getFileID() {
		return fileID;
	}

	public void setFileID(int fileID) {
		this.fileID = fileID;
	}
}
